package com.marvels.financial.funds.dao;

import com.github.pagehelper.Page;
import com.marvels.financial.funds.dto.McfeBhCashAssignConfirmDTO;
import com.marvels.financial.funds.dto.TransferConditionDTO;
import org.apache.ibatis.annotations.Param;


public interface McfeBhCashAssignConfirmMapper {

	
	/**
	 * 新增划拨确认书信息
	 * @param record
	 * @return
	 */
    int insertSelective(McfeBhCashAssignConfirmDTO record);
    
    
    /**
     * 根据id查询划拨确认书信息
     * @param cashAssignConfirmDTO
     * @return
     */
    McfeBhCashAssignConfirmDTO selectById(@Param("id") long id);
    
    
    /**
     * 查询划拨确认书信息
     * @param conditionDTO
     * @return
     */
    Page<McfeBhCashAssignConfirmDTO> selectList(TransferConditionDTO conditionDTO);
    
    
    /**
     * 根据loanId更新数据
     * @param assignConfirmDTO
     * @return
     */
    int updateById(McfeBhCashAssignConfirmDTO assignConfirmDTO);
    
}